﻿using System.Collections.Generic;
using System;

namespace IBE
{
    public class BICFilter
    {

    }

    public class BICPrefs
    {

    }

    public class AirVPrefs
    {

    }

    public class AirVPrefInd
    {

    }

    public class AirVSpecificAvail
    {

    }

    public class GenAvail
    {
        #region Members
        //1
        string _NumSeats = "";
        public string NumSeats { get { return _NumSeats; } set { _NumSeats = value; } }
        //2
        string _Class = "";
        public string Class { get { return _Class; } set { _Class = value; } }
        //3
        string _StartDt = "";
        public string StartDt { get { return _StartDt; } set { _StartDt = value; } }
        //4
        string _StartPt = "";
        public string StartPt { get { return _StartPt; } set { _StartPt = value; } }
        //5
        string _EndPt = "";
        public string EndPt { get { return _EndPt; } set { _EndPt = value; } }
        //6
        string _StartTm = "";
        public string StartTm { get { return _StartTm; } set { _StartTm = value; } }
        //7
        string _TmWndInd = "";
        public string TmWndInd { get { return _TmWndInd; } set { _TmWndInd = value; } }
        //8
        string _StartTmWnd = "";
        public string StartTmWnd { get { return _StartTmWnd; } set { _StartTmWnd = value; } }
        //9
        string _EndTmWnd = "";
        public string EndTmWnd { get { return _EndTmWnd; } set { _EndTmWnd = value; } }
        //10
        string _JrnyTm = "";
        public string JrnyTm { get { return _JrnyTm; } set { _JrnyTm = value; } }
        //11
        string _FltTypeInd = "";
        public string FltTypeInd { get { return _FltTypeInd; } set { _FltTypeInd = value; } }
        //12
        string _FltTypePref = "";
        public string FltTypePref { get { return _FltTypePref; } set { _FltTypePref = value; } }
        //13
        string _StartPtInd = "";
        public string StartPtInd { get { return _StartPtInd; } set { _StartPtInd = value; } }
        //14
        string _EndPtInd = "";
        public string EndPtInd { get { return _EndPtInd; } set { _EndPtInd = value; } }
        //15
        string _IgnoreTSPref = "";
        public string IgnoreTSPref { get { return _IgnoreTSPref; } set { _IgnoreTSPref = value; } }
        //16
        string _WidenSearchWndInd = "";
        public string WidenSearchWndInd { get { return _WidenSearchWndInd; } set { _WidenSearchWndInd = value; } }
        //17
        string _MaxNumFlts = "";
        public string MaxNumFlts { get { return _MaxNumFlts; } set { _MaxNumFlts = value; } }
        //18
        string _IncNonStopDirectsInd = "";
        public string IncNonStopDirectsInd { get { return _IncNonStopDirectsInd; } set { _IncNonStopDirectsInd = value; } }
        //19
        string _IncStopDirectsInd = "";
        public string IncStopDirectsInd { get { return _IncStopDirectsInd; } set { _IncStopDirectsInd = value; } }
        //20
        string _IncSingleOnlineConxInd = "";
        public string IncSingleOnlineConxInd { get { return _IncSingleOnlineConxInd; } set { _IncSingleOnlineConxInd = value; } }
        //21
        string _IncDoubleOnlineConxInd = "";
        public string IncDoubleOnlineConxInd { get { return _IncDoubleOnlineConxInd; } set { _IncDoubleOnlineConxInd = value; } }
        //22
        string _IncTripleOnlineConxInd = "";
        public string IncTripleOnlineConxInd { get { return _IncTripleOnlineConxInd; } set { _IncTripleOnlineConxInd = value; } }
        //23
        string _IncSingleInterlineConxInd = "";
        public string IncSingleInterlineConxInd { get { return _IncSingleInterlineConxInd; } set { _IncSingleInterlineConxInd = value; } }
        //24
        string _IncDoubleInterlineConxInd = "";
        public string IncDoubleInterlineConxInd { get { return _IncDoubleInterlineConxInd; } set { _IncDoubleInterlineConxInd = value; } }
        //25
        string _IncTripleInterlineConxInd = "";
        public string IncTripleInterlineConxInd { get { return _IncTripleInterlineConxInd; } set { _IncTripleInterlineConxInd = value; } }
        //26
        string _SeqInd = "";
        public string SeqInd { get { return _SeqInd; } set { _SeqInd = value; } }
        //27
        string _IncScheduleLevelCarriers = "";
        public string IncScheduleLevelCarriers { get { return _IncScheduleLevelCarriers; } set { _IncScheduleLevelCarriers = value; } }
        #endregion

        #region Method
        public string GetXml()
        {
            string xml = "<GenAvail>";
            if (_NumSeats != "") { xml += "<NumSeats>" + _NumSeats + "</NumSeats>"; }
            if (_Class != "") { xml += "<Class>" + _Class + "</Class>"; }
            if (_StartDt != "") { xml += "<StartDt>" + _StartDt + "</StartDt>"; }
            if (_StartPt != "") { xml += "<StartPt>" + _StartPt + "</StartPt>"; }
            if (_EndPt != "") { xml += "<EndPt>" + _EndPt + "</EndPt>"; }
            if (_StartTm != "") { xml += "<StartTm>" + _StartTm + "</StartTm>"; }
            if (_TmWndInd != "") { xml += "<TmWndInd>" + _TmWndInd + "</TmWndInd>"; }
            if (_StartTmWnd != "") { xml += "<StartTmWnd>" + _StartTmWnd + "</StartTmWnd>"; }
            if (_EndTmWnd != "") { xml += "<EndTmWnd>" + _EndTmWnd + "</EndTmWnd>"; }
            if (_JrnyTm != "") { xml += "<JrnyTm>" + _JrnyTm + "</JrnyTm>"; }
            if (_FltTypeInd != "") { xml += "<FltTypeInd>" + _FltTypeInd + "</FltTypeInd>"; }
            if (_FltTypePref != "") { xml += "<FltTypePref>" + _FltTypePref + "</FltTypePref>"; }
            if (_StartPtInd != "") { xml += "<StartPtInd>" + _StartPtInd + "</StartPtInd>"; }
            if (_EndPtInd != "") { xml += "<EndPtInd>" + _EndPtInd + "</EndPtInd>"; }
            if (_IgnoreTSPref != "") { xml += "<IgnoreTSPref>" + _IgnoreTSPref + "</IgnoreTSPref>"; }
            if (_WidenSearchWndInd != "") { xml += "<WidenSearchWndInd>" + _WidenSearchWndInd + "</WidenSearchWndInd>"; }
            if (_MaxNumFlts != "") { xml += "<MaxNumFlts>" + _MaxNumFlts + "</MaxNumFlts>"; }
            if (_IncNonStopDirectsInd != "") { xml += "<IncNonStopDirectsInd>" + _IncNonStopDirectsInd + "</IncNonStopDirectsInd>"; }
            if (_IncStopDirectsInd != "") { xml += "<IncStopDirectsInd>" + _IncStopDirectsInd + "</IncStopDirectsInd>"; }
            if (_IncSingleOnlineConxInd != "") { xml += "<IncSingleOnlineConxInd>" + _IncSingleOnlineConxInd + "</IncSingleOnlineConxInd>"; }
            if (_IncDoubleOnlineConxInd != "") { xml += "<IncDoubleOnlineConxInd>" + _IncDoubleOnlineConxInd + "</IncDoubleOnlineConxInd>"; }
            if (_IncTripleOnlineConxInd != "") { xml += "<IncTripleOnlineConxInd>" + _IncTripleOnlineConxInd + "</IncTripleOnlineConxInd>"; }
            if (_IncSingleInterlineConxInd != "") { xml += "<IncSingleInterlineConxInd>" + _IncSingleInterlineConxInd + "</IncSingleInterlineConxInd>"; }
            if (_IncDoubleInterlineConxInd != "") { xml += "<IncDoubleInterlineConxInd>" + _IncDoubleInterlineConxInd + "</IncDoubleInterlineConxInd>"; }
            if (_SeqInd != "") { xml += "<SeqInd>" + _SeqInd + "</SeqInd>"; }
            if (_IncScheduleLevelCarriers != "") { xml += "<IncScheduleLevelCarriers>" + _IncScheduleLevelCarriers + "</IncScheduleLevelCarriers>"; }
            xml += "</GenAvail>";
            return xml;
        }
        #endregion
    }

    public class ConxPref
    {

    }

    public class MoreAvail
    {

    }

    public class ConxPrefInd
    {

    }

    public class SpecificAvailFlts
    {

    }

    public class SpecificAvailMods
    {

    }

    public class SpecificTimeTable
    {

    }

    public class GeneralTimeTable
    {

    }
}